package com.example.demo.utils.redistets;

import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @ClassName Test01
 * @Description TODO
 * Author yangqinglin
 * @Date 2021/1/28 14:51
 * @Version
 **/
@Component
public class Test01  implements Serializable {

    private String userName;
     private String password;
     private String phoneNum;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public Test01(String userName, String password, String phoneNum) {
        this.userName = userName;
        this.password = password;
        this.phoneNum = phoneNum;
    }

    @Override
    public String toString() {
        return "Test01{" +
                "userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", phoneNum='" + phoneNum + '\'' +
                '}';
    }

    public Test01() {
    }
}
